﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
using DefenseQuestion.Domain;

namespace DefenseQuestion
{
    /// <summary>
    /// 学生表
    /// </summary>
    [Table("Student")]
    public class Student : Audit
    {
        /// <summary>
        /// 学生Id
        /// </summary>
        [Key]
        public int StudentId { get; set; }
        /// <summary>
        ///学号
        /// </summary>
        public string StudentCode { get; set; }
        /// <summary>        
        ///班级Id
        /// </summary>
        public int GradeId { get; set; }
        /// <summary>        
        ///是否审核
        /// </summary>
        public bool IsAudit { get; set; }
    }
}